#include <iostream>

class HttpRequest;

enum HttpRecvStatu
{
    RECV_HTTP_ERROR,
    RECV_HTTP_LINE,
    RECV_HTTP_HEAD,
    RECV_HTTP_BODY,
    RECV_HTTP_OVER
};

class HttpContext
{
private:
    int _resp_status;  //响应状态码
    HttpRecvStatu _recv_starus;
    HttpRequest _request; 
};